# coding=utf-8
"""
author: jamon
"""
_need_reload = True


data = {
    # 坦克类
    100000101: {
        "name": "D级坦克1",
        "max_speed": 60,
        "max_blood": 100,
        "recovery": 5,
        "immune_hurt": 99,
        "is_virtual": 0,
        "tech_level": 1,
        "width": 48,
        "height": 48,
        "image": {  # 不同阵营图标路径
            0: [  # 中立阵营图标路径
                "resources/images/npcTank/npc_1_0.png",
                "resources/images/npcTank/npc_2_0.png",
            ],
            1: [  # 己方阵营图标路径
                "resources/images/playerTank/tank_T1_0.png",
                "resources/images/playerTank/tank_T2_0.png",
            ],
            2: [  # npc阵营图标路径
                "resources/images/npcTank/npc_1_0.png",
                "resources/images/npcTank/npc_2_0.png",
            ],
            3: [  # 敌方阵营图标路径
                "resources/images/enemyTank/enemy_1_0.png",
                "resources/images/enemyTank/enemy_2_0.png",
            ],
        },
    },
    100000201: {
        "name": "C级坦克1",
        "max_speed": 70,
        "max_blood": 200,
        "recovery": 5,
        "immune_hurt": 99,
        "is_virtual": 0,
        "tech_level": 2,
        "width": 48,
        "height": 48,
        "image": {  # 不同阵营图标路径
            0: [  # 中立阵营图标路径
                "resources/images/npcTank/npc_1_1.png",
                "resources/images/npcTank/npc_2_1.png",
            ],
            1: [  # 己方阵营图标路径
                "resources/images/playerTank/tank_T1_1.png",
                "resources/images/playerTank/tank_T2_1.png",
            ],
            2: [  # npc阵营图标路径
                "resources/images/npcTank/npc_1_1.png",
                "resources/images/npcTank/npc_2_1.png",
            ],
            3: [  # 敌方阵营图标路径
                "resources/images/enemyTank/enemy_1_1.png",
                "resources/images/enemyTank/enemy_2_1.png",
            ],
        },
    },
    100000301: {
        "name": "B级坦克1",
        "max_speed": 80,
        "max_blood": 300,
        "recovery": 5,
        "immune_hurt": 99,
        "is_virtual": 0,
        "tech_level": 3,
        "width": 48,
        "height": 48,
        "image": {  # 不同阵营图标路径
            0: [  # npc阵营图标路径
                "resources/images/npcTank/npc_1_2.png",
                "resources/images/npcTank/npc_2_2.png",
            ],
            1: [  # 己方阵营图标路径
                "resources/images/playerTank/tank_T1_2.png",
                "resources/images/playerTank/tank_T2_2.png",
            ],
            2: [  # npc阵营图标路径
                "resources/images/npcTank/npc_1_2.png",
                "resources/images/npcTank/npc_2_2.png",
            ],
            3: [  # 敌方阵营图标路径
                "resources/images/enemyTank/enemy_1_2.png",
                "resources/images/enemyTank/enemy_2_2.png",
            ],
        },

    },

    # 武器类
    100100101: {
        "name": "D级炮1",
        "max_speed": 0,
        "max_blood": 1,
        "recovery": 0,
        "immune_hurt": 0,
        "is_virtual": 1,
        "tech_level": 1,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/scene/brick.png"],
            1: ["resources/images/scene/brick.png"],
            2: ["resources/images/scene/brick.png"],
            3: ["resources/images/scene/brick.png"],
        },
    },
    100100201: {
        "name": "C级炮1",
        "max_speed": 0,
        "max_blood": 1,
        "recovery": 0,
        "immune_hurt": 0,
        "is_virtual": 1,
        "tech_level": 2,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/scene/brick.png"],
            1: ["resources/images/scene/brick.png"],
            2: ["resources/images/scene/brick.png"],
            3: ["resources/images/scene/brick.png"],
        },
    },
    100100301: {
        "name": "B级炮1",
        "max_speed": 0,
        "max_blood": 1,
        "recovery": 0,
        "immune_hurt": 0,
        "is_virtual": 1,
        "tech_level": 3,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/scene/brick.png"],
            1: ["resources/images/scene/brick.png"],
            2: ["resources/images/scene/brick.png"],
            3: ["resources/images/scene/brick.png"],
        },
    },

    # 子弹类
    100200101: {
        "name": "D级子弹1",
        "max_speed": 400,
        "max_blood": 1,
        "recovery": 0,
        "immune_hurt": 0,
        "is_virtual": 0,
        "tech_level": 1,
        "width": 48,
        "height": 48,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/bullet/bullet_up.png",
                "resources/images/bullet/bullet_down.png",
                "resources/images/bullet/bullet_left.png",
                "resources/images/bullet/bullet_right.png",
                ],
            1: ["resources/images/bullet/bullet_up.png",
                "resources/images/bullet/bullet_down.png",
                "resources/images/bullet/bullet_left.png",
                "resources/images/bullet/bullet_right.png",
                ],
            2: ["resources/images/bullet/bullet_up.png",
                "resources/images/bullet/bullet_down.png",
                "resources/images/bullet/bullet_left.png",
                "resources/images/bullet/bullet_right.png",
                ],
            3: ["resources/images/bullet/bullet_up.png",
                "resources/images/bullet/bullet_down.png",
                "resources/images/bullet/bullet_left.png",
                "resources/images/bullet/bullet_right.png",
                ],
        },
    },
    100200201: {
        "name": "C级子弹1",
        "max_speed": 450,
        "max_blood": 1,
        "recovery": 0,
        "immune_hurt": 0,
        "is_virtual": 0,
        "tech_level": 2,
        "width": 48,
        "height": 48,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/bullet/bullet_up.png",
                "resources/images/bullet/bullet_down.png",
                "resources/images/bullet/bullet_left.png",
                "resources/images/bullet/bullet_right.png",
                ],
            1: ["resources/images/bullet/bullet_up.png",
                "resources/images/bullet/bullet_down.png",
                "resources/images/bullet/bullet_left.png",
                "resources/images/bullet/bullet_right.png",
                ],
            2: ["resources/images/bullet/bullet_up.png",
                "resources/images/bullet/bullet_down.png",
                "resources/images/bullet/bullet_left.png",
                "resources/images/bullet/bullet_right.png",
                ],
            3: ["resources/images/bullet/bullet_up.png",
                "resources/images/bullet/bullet_down.png",
                "resources/images/bullet/bullet_left.png",
                "resources/images/bullet/bullet_right.png",
                ],
        },
    },
    100200301: {
        "name": "B级子弹1",
        "max_speed": 500,
        "max_blood": 1,
        "recovery": 0,
        "immune_hurt": 0,
        "is_virtual": 0,
        "tech_level": 3,
        "width": 48,
        "height": 48,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/bullet/bullet_up.png",
                "resources/images/bullet/bullet_down.png",
                "resources/images/bullet/bullet_left.png",
                "resources/images/bullet/bullet_right.png",
                ],
            1: ["resources/images/bullet/bullet_up.png",
                "resources/images/bullet/bullet_down.png",
                "resources/images/bullet/bullet_left.png",
                "resources/images/bullet/bullet_right.png",
                ],
            2: ["resources/images/bullet/bullet_up.png",
                "resources/images/bullet/bullet_down.png",
                "resources/images/bullet/bullet_left.png",
                "resources/images/bullet/bullet_right.png",
                ],
            3: ["resources/images/bullet/bullet_up.png",
                "resources/images/bullet/bullet_down.png",
                "resources/images/bullet/bullet_left.png",
                "resources/images/bullet/bullet_right.png",
                ],
        },
    },

    # 静态实体类
    100300101: {
        "name": "土墙1",
        "max_speed": 0,
        "max_blood": 100,
        "recovery": 0,
        "immune_hurt": 99,
        "is_virtual": 0,
        "tech_level": 1,
        "width": 24,
        "height": 24,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/scene/brick.png"],
            1: ["resources/images/scene/brick.png"],
            2: ["resources/images/scene/brick.png"],
            3: ["resources/images/scene/brick.png"],
        },
    },
    100300102: {
        "name": "土墙1",
        "max_speed": 0,
        "max_blood": 100,
        "recovery": 0,
        "immune_hurt": 99,
        "is_virtual": 0,
        "tech_level": 1,
        "width": 24,
        "height": 24,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/scene/brick.png"],
            1: ["resources/images/scene/brick.png"],
            2: ["resources/images/scene/brick.png"],
            3: ["resources/images/scene/brick.png"],
        },
    },
    100300201: {
        "name": "铁墙1",
        "max_speed": 0,
        "max_blood": 150,
        "recovery": 0,
        "immune_hurt": 149,
        "is_virtual": 0,
        "tech_level": 2,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/scene/iron.png"],
            1: ["resources/images/scene/iron.png"],
            2: ["resources/images/scene/iron.png"],
            3: ["resources/images/scene/iron.png"],
        },
    },
    100300301: {
        "name": "边界墙",
        "max_speed": 0,
        "max_blood": 999999999,
        "recovery": 0,
        "immune_hurt": 999999999,
        "is_virtual": 0,
        "tech_level": 100,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/scene/border.png"],
            1: ["resources/images/scene/border.png"],
            2: ["resources/images/scene/border.png"],
            3: ["resources/images/scene/border.png"],
        },
    },
    100300401: {
        "name": "大本营1",
        "max_speed": 0,
        "max_blood": 100,
        "recovery": 0,
        "immune_hurt": 99,
        "is_virtual": 0,
        "tech_level": 1,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/home/home1.png"],
            1: ["resources/images/home/home1.png"],
            2: ["resources/images/home/home2.png"],
            3: ["resources/images/home/home2.png"],
        },
        "extra": {
            "dead_image": "resources/images/home/home_destroyed.png",  # 被摧毁时图片
        }
    },
    100300501: {
        "name": "冰1",
        "max_speed": 0,
        "max_blood": 999999999,
        "recovery": 0,
        "immune_hurt": 999999999,
        "is_virtual": 0,
        "tech_level": 1,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/scene/ice.png"],
            1: ["resources/images/scene/ice.png"],
            2: ["resources/images/scene/ice.png"],
            3: ["resources/images/scene/ice.png"],
        },
        "extra": {
            "speed_buff": {
                "rel_ratio": 1,  # 速度加成100%
                "duration": 5,   # buff 时长
            }
        }
    },
    100300601: {
        "name": "树1",
        "max_speed": 0,
        "max_blood": 999999999,
        "recovery": 0,
        "immune_hurt": 999999999,
        "is_virtual": 0,
        "tech_level": 1,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/scene/tree.png"],
            1: ["resources/images/scene/tree.png"],
            2: ["resources/images/scene/tree.png"],
            3: ["resources/images/scene/tree.png"],
        },
        "extra": {
            "speed_buff": {
                "rel_ratio": -0.5,  # 速度加成-50%
                "duration": 5,   # buff 时长
            }
        }
    },
    100300701: {
        "name": "河1",
        "max_speed": 0,
        "max_blood": 999999999,
        "recovery": 0,
        "immune_hurt": 999999999,
        "is_virtual": 0,
        "tech_level": 1,
        "image": {  # 不同阵营图标路径
            0: ["resources/images/scene/river1.png", "resources/images/scene/river2.png"],
            1: ["resources/images/scene/river1.png", "resources/images/scene/river2.png"],
            2: ["resources/images/scene/river1.png", "resources/images/scene/river2.png"],
            3: ["resources/images/scene/river1.png", "resources/images/scene/river2.png"],
        },
    },
}
